package com.itheima.service;

import com.itheima.bean.User;
import com.itheima.exception.UserException;

public interface UserService {
    //登录操作
    public User login(String username, String password) throws Exception;
    //注册操作
    public void register(User user) throws Exception;
}
